# -*- coding: utf-8 -*-
from src.com.ydzy.util.sql_util import MySQLUtils

db = MySQLUtils('192.168.9.32', 9030, 'root', 'Mdsoss@123', 'audit_local')
sql="DESC audit_collect_log;"
res=db.retrieve_sql(sql)
cloumns=[item[0]  for item in res]
# print(",".join(cloumns))

cloumns=['"'+item[0]+'"'  for item in res]
print(",\n".join(cloumns))